package com.yunji.cabinet.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yunji.common.base.BaseDelFlagDO;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@TableName("tl_take_delivery")
@NoArgsConstructor
@AllArgsConstructor
public class TakeDeliveryDO extends BaseDelFlagDO {

    @ApiModelProperty("取货ID")
    @TableId(type = IdType.AUTO)
    private Long takeId;

    @ApiModelProperty("取货编码")
    private String takeCode;

    @ApiModelProperty("货柜ID")
    private Long containerId;

    @ApiModelProperty("货柜Imei")
    private String chipImei;

    @ApiModelProperty("货柜名称")
    private String containerName;

    @ApiModelProperty("点位ID")
    private Long locationId;

    @ApiModelProperty("员工ID")
    private Long staffId;

    @ApiModelProperty("员工电话")
    private String staffTel;

    @ApiModelProperty("员工姓名")
    private String staffName;

    @ApiModelProperty("取货数量")
    private Integer takeNums;

    @ApiModelProperty("开始时间/取货时间")
    private Date startTime;

    @ApiModelProperty("结束时间")
    private Date closeTime;

    @ApiModelProperty("取货状态")
    private Integer takeStatus;

    @ApiModelProperty("备注")
    private String remarks;

}
